package com.company;

public class L_StudentTest {
    String name; //默认访问权限 friendly
    private String id; //私有访问权限 private
    protected String no; // 受保护权限 protected
    public String email; // 公开权限 publi
    public String info() {
        return"姓名："+name+"，身份证号码："+id+"，学号："+no+"，邮箱："+email;
    }

    public static void main(String[] args) {
        L_StudentTest stu = new L_StudentTest();
        stu.name = "Ken";
        stu.no = "1200";
        stu.id = "1009";
        stu.email = "111@qq.com";

        System.out.println(stu.info());
    }
}
